#include "customslider.h"

CustomSlider::CustomSlider(Qt::Orientation orientation, QWidget *parent)
    : QSlider(orientation, parent)
{}

void CustomSlider::enterEvent(QEnterEvent *event)
{
    setCursor(Qt::PointingHandCursor);
    QSlider::enterEvent(event);
}

void CustomSlider::leaveEvent(QEvent *event)
{
    setCursor(Qt::ArrowCursor);
    QSlider::leaveEvent(event);
}
